#ifndef ENTERROOMSRV_H
#define ENTERROOMSRV_H

#include "simpleprotosrv.h"
#include "roommanager.h"
#include "tetrixserver.h"

class EnterRoomReq : public SimpleProtoSrv
{
public:
    EnterRoomReq() : SimpleProtoSrv(PT_ENTER_ROOM) {}
    EnterRoomReq(const std::string &room,const std::string& password = "");

    ProtoSrv* decode(ACE_InputCDR &cdr);
    ProtoSrv* execute(ACE_SOCK_Stream &peer);
};

#endif // ENTERROOMSRV_H
